#!/bin/bash

# @Author      ：幸运锦鲤
# @Time        : 2025-02-13 00:41:32
# @version     : bash
# @Update time :
# @Description : ros1 melodic 相关的环境依赖安装脚本


# ROS
sudo apt install -y ros-melodic-cv-bridge
sudo apt install -y ros-melodic-usb-cam
sudo apt install -y ros-melodic-can-msgs
sudo apt install -y ros-melodic-tf2-geometry-msgs
sudo apt install -y ros-melodic-realsense2-camera
sudo apt install -y ros-melodic-mbf-costmap-core
sudo apt install -y ros-melodic-mbf-msgs
sudo apt install -y ros-melodic-move-base-msgs
sudo apt install -y ros-melodic-costmap-converter
sudo apt install -y ros-melodic-rtabmap-ros
sudo apt install -y ros-melodic-async-web-server-cpp
sudo apt install -y ros-melodic-joy
sudo apt install -y ros-melodic-ackermann-msgs
sudo apt install -y ros-melodic-velocity-controllers
sudo apt install -y ros-melodic-libg2o
sudo apt install -y ros-melodic-move-base-msgs
sudo apt install -y ros-melodic-tf2-sensor-msgs
sudo apt install -y ros-melodic-realsense2-description
sudo apt install -y ros-melodic-camera-info-manager
sudo apt install -y ros-melodic-realsense2-camera
sudo apt install -y ros-melodic-serial
sudo apt install -y ros-melodic-uuid-msgs
sudo apt install -y ros-melodic-libuvc
sudo apt install -y ros-melodic-mavros
sudo apt install -y ros-melodic-bfl
sudo apt install -y ros-melodic-costmap*
sudo apt install -y ros-melodic-gmapping*
sudo apt install -y ros-melodic-hector*
sudo apt install -y ros-melodic-slam-karto*
sudo apt install -y ros-melodic-ar-track-alvar
sudo apt install -y ros-melodic-octomap*
sudo apt install -y ros-melodic-rgbd-launch
sudo apt install -y ros-${ROS_DISTRO}-rviz-visual-tools
sudo apt install -y ros-${ROS_DISTRO}-jsk-rviz-plugins

# systeam
sudo apt-get install -y portaudio19-dev
sudo apt-get install -y libcrypto++-dev
sudo apt-get install -y libpcap-dev
sudo apt-get install -y libuvc-dev
sudo apt-get install -y libudev-dev
sudo apt-get install -y jstest-gtk
sudo apt-get install -y libsdl1.2-dev libsdl-image1.2-dev
sudo apt-get install -y v4l-utils